/*
 * @Description: 模板发行机构-接口
 * @Author: xinqiao lxq1990.0716@qq.com
 * @Date: 2024-03-26
 * @LastEditors: 何伟伦 weilun@ssc-hn.com
 * @LastEditTime: 2024-05-13
 */
import request from '/@/api/request'

/** 分页获取身份模板列表 */
export const requestGetTemplateList = (data: GetTemplateListTypes.IRequest) => {
  return request.post<IPaginationResponse<GetTemplateListTypes.IResponse[]>>('/business/identity/template/getTemplateList', data)
}

/** 获取身份模板列表 */
export const requestGetAllTemplateList = (data: GetAllTemplateListTypes.IRequest) => {
  return request.post<IBaseResponse<GetAllTemplateListTypes.IResponse[]>>('/business/identity/template/getAllTemplateList', data)
}

/** 获取身份模板列表(区分机构) */
export const requestGetAuthTemplateList = (data: GetAllTemplateListTypes.IRequest) => {
  return request.post<IBaseResponse<GetAllTemplateListTypes.IResponse[]>>('/business/identity/template/getAuthTemplateList', data)
}
